#include <cstdio>
#include "BuyStock.h"

int main(int argc, char **argv)
{
	//int price[] = {7,1,5,3,6,4};
	//int price[] = {1,2,3,4,5};
	int price[] = {7,6,3,2};
	int income = MaxIncome(price, sizeof(price)/sizeof(price[0]));
	printf("income is %d\n", income);

	return 0;
}